<template>
	<z-common-box boxShadow marginTop="150rpx">
		<view class="flex flex-ai-center flex-js-sb">
			<view class="font-color-theme_title">
				<text class="font-size-10 font-w-bold">￥</text>
				<text class="font-size-24 font-w-bold">{{product.price}}</text>
			</view>
			<view class="type_title font-size-10" :style="{borderColor:typeList[signUpStatus].color,color:typeList[signUpStatus].color}">{{typeList[signUpStatus].title}}</view>
		</view>
	</z-common-box>
</template>

<script>
	import drawMixin from '@/mixins/draw.js'
	export default {
		mixins:[drawMixin],
		name:'currentDrawType',
		props:{
			product: {
				type: Object,
				default () {
					return {}
				}
			},
		},
		data(){
			return {
				type:0,
				typeList:{
					1:{
						title:'未开始',
						color:'#B67930'
					},
					2:{
						title:'抽签中',
						color:'#FF303B'
					},
					// 2:{
					// 	title:'付款中',
					// 	color:'#25406F'
					// },
					3:{
						title:'已结束',
						color:'#999999'
					},
				}
			}
		}
	}
</script>

<style scoped lang="scss">
	.type_title {
		padding: 8rpx;
		border: 1rpx solid;
		border-radius: 8rpx;
	}
</style>